#ifndef PREPOSTH_
#define PREPOSTH_
/* ======================================================================== */
/* Image and scratch buffer structures for pre-post processing operations   */
/* ======================================================================== */
typedef struct{
					unsigned char *Y_data;
					unsigned char *Cb_data;
					unsigned char *Cr_data;
			  } IMG;
typedef struct{
					unsigned char *in_data;
					int  size;
			  } SCRATCH;

#define LINE_SZ 720
#ifdef _NTSC
#define MAX_NUM_LINES_PER_FIELD 240
#elif defined _PAL
#define MAX_NUM_LINES_PER_FIELD 288
#else
#error "no video format is defined! Must be NTSC or PAL"
#endif
#endif
